"use strict";
// 枚举：enum
// 用于定义一组“数值”类型
var Color;
(function (Color) {
    Color[Color["Red"] = 0] = "Red";
    Color[Color["Blue"] = 1] = "Blue";
    Color[Color["Green"] = 2] = "Green";
})(Color || (Color = {}));
;
let n = Color.Red;
console.log("n = ", n); // n = 0
